<!DOCTYPE HTML>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="initial-scale=1, user-scalable=0, minimal-ui">
    <title>App下载</title>
</head>
<body>
    <h2>Android App下载</h2>
    <h3>如果是微信扫描，请点击：右上角->在浏览器中打开</h3>
    <img src='./furibleqrcode.png'>
</body>
</html>
<script type="text/javascript"> 
    window.onload = function () {
        if (isWeiXin()) {
            //var p = document.getElementsByTagName('p');
            //p[0].innerHTML = window.navigator.userAgent;
        } else {
            // window.location.href = 'https://lechenghhh.github.io/MyApi/furible.apk';
            window.location.href = 'http://lechenghaha.gitee.io/apiservice/furi_ble/furible.apk';
        }
    }
    function isWeiXin() {
        var ua = window.navigator.userAgent.toLowerCase();
        if (ua.match(/MicroMessenger/i) == 'micromessenger') {
            return true;
        } else {
            return false;
        }
    } 
</script>
